package com.suzhe.ymall.pay.service.impl;

import com.suzhe.ymall.common.service.IPermissionService;
import com.suzhe.ymall.pay.client.PermissionClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * @author suzhe
 * @date 2019/7/1
 */
@Service
public class PermissionServiceImpl implements IPermissionService{
    @Autowired
    PermissionClient permissionClient;
    @Override
    public Set<String> getActionPerms(Integer id) {
        return permissionClient.getActionPerms(id);
    }
}
